<?php
/**
 * @name ： articleproperty.php
 * @msg ：文章属性
 * @date ： 2015-01-15
 * @author : yuebin
 *
 */
namespace haibao\cms\model\data;

Class ArticleProperty extends Base{

	
	/**
	 * 文章ID
	 */
	public $ArticleId;
	
	/**
	 * 点击量
	 */
	public $ClickNum;
	/**
	 * 评论数
	 */
	public $CommentNum;
	/**
	 * 投票数
	 */
	public $VoteNum;
	/**
	 * 影响数
	 */
	public $EditClickNum;

	/**
	 * 
	 * 文章分享量
	 */
	public $ShareNum;
	
	public $ArticleInfo;
	
	/**
	 * PC点击数
	 */
	public $PcClickNum;
	
	/**
	 * wap点击数
	 */
	public $MobileClickNum;
	
	/**
	 * 文章读图模式点击量
	 */
	public $PicClickNum = 0;

	/**
	 * 访问URL
	 */
	public $AccessUrl;
	
	/**
	 * public title
	 */
	public $PublicTitle;
	
	public $articleCommentSum;
	public $articleSum;
	
	public $featureCommentSum;
	public $picsCommentSum;
	public $videoCommentSum;
	public $CommentPariseNum = 0;
	
	public $QuestionNum = 0;
	public $QuestionPariseNum = 0;
	
	public function __construct(){
		parent::__construct();
		
		$this->intField('ArticleId', 'ArticleId',true);
		$this->intField('ClickNum', 'ClickNum');
		$this->intField('CommentNum', 'CommentNum');
		$this->intField('VoteNum', 'VoteNum');
		$this->intField('EditClickNum', 'EditClickNum');
		$this->intField('ShareNum', 'ShareNum');
		$this->intField('PcClickNum', 'PcClickNum');
		$this->intField('MobileClickNum', 'MobileClickNum');
		$this->intField('CommentPariseNum', 'CommentPariseNum');
		$this->intField('PicClickNum', 'PicClickNum');
		
		$this->intField('QuestionNum', 'QuestionNum');
		$this->intField('QuestionPariseNum', 'QuestionPariseNum');
		
		$this->setTableName('ArticleProperty');
	}
}
